package com.richinfo.buddy.web.activity.model.req;

import io.swagger.annotations.*;

import java.io.Serializable;
import java.util.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Null;
import javax.validation.constraints.Size;


import com.richinfo.buddy.common.model.QueryOrder;

@ApiModel
public class ActivityCatalogRequest implements Serializable {

    /** 活动id **/
	@Size(max = 36, groups = {Add.class, Edit.class})
	@ApiModelProperty("活动id")
    private String catalogId;

    /** 活动名称 **/
	@Size(max = 60, groups = {Add.class, Edit.class})
	@NotEmpty(groups = {Add.class})
	@ApiModelProperty("活动名称")
    private String catalogName;

    /** 活动类型 **/
	@Size(max = 2, groups = {Add.class, Edit.class})
	@NotEmpty(groups = {Add.class})
	@ApiModelProperty("活动类型")
    private String catalogType;

    /** 01-可用 02-不可用 **/
	@Size(max = 2, groups = {Add.class, Edit.class})
	@NotEmpty(groups = {Add.class})
	@ApiModelProperty("01-可用 02-不可用")
    private String state;

    /** 创建人id **/
	@Null(groups = {Edit.class})
	@Size(max = 36, groups = {Add.class, Edit.class})
	@ApiModelProperty("创建人id")
    private String creUserId;

    /** 创建人名称 **/
	@Null(groups = {Edit.class})
	@Size(max = 50, groups = {Add.class, Edit.class})
	@ApiModelProperty("创建人名称")
    private String creUserName;

    /** 创建时间 **/
	@Null(groups = {Edit.class})
	@ApiModelProperty("创建时间")
    private Date creDate;

    /** 修改人id **/
	@Size(max = 36, groups = {Add.class, Edit.class})
	@ApiModelProperty("修改人id")
    private String updUserId;

    /** 修改人名称 **/
	@Size(max = 50, groups = {Add.class, Edit.class})
	@ApiModelProperty("修改人名称")
    private String updUserName;

    /** 修改时间 **/
	@ApiModelProperty("修改时间")
    private Date updDate;

	@ApiModelProperty("排序列表")
    private List<QueryOrder> orders;

	public interface Add{}
    public interface Edit{}
	
    public List<QueryOrder> getOrders() {
        return orders;
    }

    public void setOrders(List<QueryOrder> orders) {
        this.orders = orders;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId == null ? null : catalogId.trim();
    }

    public String getCatalogId() {
        return this.catalogId;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName == null ? null : catalogName.trim();
    }

    public String getCatalogName() {
        return this.catalogName;
    }

    public void setCatalogType(String catalogType) {
        this.catalogType = catalogType == null ? null : catalogType.trim();
    }

    public String getCatalogType() {
        return this.catalogType;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getState() {
        return this.state;
    }

    public void setCreUserId(String creUserId) {
        this.creUserId = creUserId == null ? null : creUserId.trim();
    }

    public String getCreUserId() {
        return this.creUserId;
    }

    public void setCreUserName(String creUserName) {
        this.creUserName = creUserName == null ? null : creUserName.trim();
    }

    public String getCreUserName() {
        return this.creUserName;
    }

    public void setCreDate(Date creDate) {
        this.creDate = creDate;
    }

    public Date getCreDate() {
        return this.creDate;
    }

    public void setUpdUserId(String updUserId) {
        this.updUserId = updUserId == null ? null : updUserId.trim();
    }

    public String getUpdUserId() {
        return this.updUserId;
    }

    public void setUpdUserName(String updUserName) {
        this.updUserName = updUserName == null ? null : updUserName.trim();
    }

    public String getUpdUserName() {
        return this.updUserName;
    }

    public void setUpdDate(Date updDate) {
        this.updDate = updDate;
    }

    public Date getUpdDate() {
        return this.updDate;
    }

}